package com.bizdk.generator.controller;

import com.bizdk.generator.common.query.Query;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@AllArgsConstructor
@Controller
public class IndexController {
    
    @RequestMapping(value = {"/", "/index"})
    public String index(Query query) {
        
        return "index";
    }
    
    @RequestMapping(value = {"/main"})
    public String main(Query query) {
        return "main";
    }
    
}
